import React from 'react';
import ReactDOM from 'react-dom';

import { BrowserRouter } from 'react-router-dom'

import API from './utils/api'

// import 'antd-mobile/dist/antd-mobile.css';
import 'react-virtualized/styles.css'
import './assets/fonts/iconfont.css'

//应该将组件的导入放在样式导入后面，从而避免样式的覆盖的问题
import App from './App';
import './index.css'
React.Component.prototype.$API = API

ReactDOM.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>,
  document.getElementById('root')
);
